/*
 *	Perlin Production Co. Ltd. September 2012 (c).
 *			clrspc.h
 *		
 */
#if !defined(_CLRSPC)
#define _CLRSPC


extern RGB* CSEBW(); /* from 233 colorspace to components 888 */
/*
RGB*		_rgb;		// Vector Color Space components
unsigned	_index;		// Index in color space 0-0xFF
*/
 

extern RGB* CSELin(); /* from 233 colorspace to components 888 */
/*
RGB*		_rgb;		// Vector Color Space components
unsigned	_index;		// Index in color space 0-0xFF
*/


		
extern RGB* CSNLin(); /* Scale individual colors in 888 color space */
/*
RGB*		_rgb;		// Vector Color Space components
RGB*		_rgbMax;	// Maximum component values
*/



extern CLR_Gen();
/*
RGB	*_rgb;			// destination RGB[0x100] array
RGB	*_rgbMax;		// maximum RGB for scaling
RGB*	(*_expand)();		// pointer to color space conversion function
RGB*	(*_scale)();		// pointer to scaling function
int	_verbose;
*/
 


extern RGB* CLR_Rd();
/*
RGB*	_rgb;
char*	_fname;
int	_verbose;
*/



extern RGB*	CLR_Wr();
/*
RGB*	_rgb;
char*	_fname;
int	_verbose;
*/

#endif /*_CLRSPC*/
